package com.huifaapp.mall.bean;

import java.util.List;

/**
 * Created by mac on 2018/1/3.
 */

public class ReceiveBean {


    /**
     * msg : 请求成功！
     * code : 10000
     * data : [{"receiverPhone":"15100012231","city":"上海","receiverName":"顾漫","isDefaultAddress":"0","detail":"万象园小区4号楼1204","id":"25149a9047444d00ac2474ea0377f924","userNickName":"李月月"},{"receiverPhone":"15103332211","city":"天津市","receiverName":"李滨","isDefaultAddress":"0","detail":"天津市河北区河北三马路","id":"04262594b3eb42368ca508d130abcf06","userNickName":"李滨"},{"receiverPhone":"13522303019","city":"北京市-北京市-朝阳区","receiverName":"孙鹏达","isDefaultAddress":"0","detail":"给 v 的财富和 v 非常的受处分 v 谢谢兄弟帆船鞋","id":"0650da1dcedb42a28f244b905028e13e","userNickName":"哇哇哇"},{"receiverPhone":"13154461324","city":"北京市北京市东城区","receiverName":"嗯","isDefaultAddress":"0","detail":"提XP您热天","id":"feaf2d6c55f7425dab96af106c99a4b0","userNickName":"嗯嗯嗯"},{"receiverPhone":"1676784676","city":"山西省太原市小店区","receiverName":"嗯","isDefaultAddress":"0","detail":"傻X婆婆","id":"621c77ccf84b4bd4b589f6a3ac7bcf57","userNickName":"嗯嗯嗯"},{"receiverPhone":"sssss","city":"湖北省武汉市江岸区","receiverName":"fff","isDefaultAddress":"1","detail":"cccvvbnnnn","id":"a08140eb95c04393bbdef5e78559e971","userNickName":"嗯嗯嗯"}]
     */

    private String msg;
    private String code;
    private List<DataBean> data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * receiverPhone : 15100012231
         * city : 上海
         * receiverName : 顾漫
         * isDefaultAddress : 0 不是选择的: 1 选择的
         * detail : 万象园小区4号楼1204
         * id : 25149a9047444d00ac2474ea0377f924
         * userNickName : 李月月
         */

        private String receiverPhone;
        private String city;
        private String receiverName;
        private String isDefaultAddress;
        private String detail;
        private String id;
        private String userNickName;

        private boolean isSelect;//是否选择

        public boolean isSelect() {
            return isSelect;
        }

        public void setSelect(boolean select) {
            isSelect = select;
        }


        public String getReceiverPhone() {
            return receiverPhone;
        }

        public void setReceiverPhone(String receiverPhone) {
            this.receiverPhone = receiverPhone;
        }

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public String getReceiverName() {
            return receiverName;
        }

        public void setReceiverName(String receiverName) {
            this.receiverName = receiverName;
        }

        public String getIsDefaultAddress() {
            return isDefaultAddress;
        }

        public String setIsDefaultAddress(String isDefaultAddress) {
            this.isDefaultAddress = isDefaultAddress;
            return isDefaultAddress;
        }

        public String getDetail() {
            return detail;
        }

        public void setDetail(String detail) {
            this.detail = detail;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getUserNickName() {
            return userNickName;
        }

        public void setUserNickName(String userNickName) {
            this.userNickName = userNickName;
        }
    }

}
